<?php
$user=$_GET['user'];
$pwd=$_GET['pwd'];
$exitUser=["zhangsan","lisi","wangwu"];
if(in_array($user,$exitUser)){
    echo "此用户已经被注册";
}
else{
    echo "√";
}


?>